.wok-ui-range {
  display: block;
  width: 100%;
  padding: 0;
  appearance: none;
  background-color: transparent;

  &:disabled {
    opacity: 0.7;
    cursor: not-allowed;
  }

  &::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    appearance: none;
    background-color: var(--color-primary);
    border: 0;
    border-radius: 1rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
      box-shadow 0.15s ease-in-out;
  }
  &::-moz-range-track {
    width: 100%;
    height: 0.5rem;
    color: transparent;
    cursor: pointer;
    background-color: #f8f9fa;
    border-color: transparent;
    border-radius: 1rem;
  }
  &::-webkit-slider-thumb {
    width: 1rem;
    height: 1rem;
    margin-top: -0.25rem;
    appearance: none;
    background-color: var(--color-primary);
    border: 0;
    border-radius: 1rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
      box-shadow 0.15s ease-in-out;
  }
  &::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.5rem;
    color: transparent;
    cursor: pointer;
    background-color: #f8f9fa;
    border-color: transparent;
    border-radius: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wok-ui-range::-webkit-slider-thumb {
    -webkit-transition: none;
    transition: none;
  }
  .wok-ui-range::-moz-range-thumb {
    -moz-transition: none;
    transition: none;
  }
}